package com.chat.net.socket;

import com.chat.entity.DataPackage;

import java.util.LinkedList;

public class SocketChannel implements Channel{

    ChannelContext channelContext;


    public SocketChannel() {

    }

    @Override
    public void setChannelContext(ChannelContext channelContext) {
        this.channelContext = channelContext;
    }

    public SocketChannel(ChannelContext channelContext) {
        this.channelContext = channelContext;
    }

    @Override
    public ChannelContext getChannelContext() {
        return channelContext;
    }

    @Override
    public void read(ChannelContext channelContext) {

    }

    @Override
    public void write(ChannelContext channelContext) {

    }
}
